Get the identity of an objectΒΆ

Get the identity of an object.
obj1 = object()
obj1_address = id(obj1)

print(obj1_address)

Output:

33612192